Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ExampleType.php.twig #23

Merged
merged 1 commit into from
Sep 24, 2018
Merged

Update ExampleType.php.twig #23

merged 1 commit into from
Sep 24, 2018

Conversation

Niklan
Copy link
Contributor

@Niklan Niklan commented Sep 24, 2018

Content entity type mispell in "delete-form" URL.

Currently value in twig is generated with this code:

"delete-form" = "/admin/structure/{{ entity_type_id }}_types/manage/{{ '{' ~ entity_type_id ~ ' _type}' }}/delete",

And the problem is in {' ~ entity_type_id ~ ' _type} part. Where is a space before _type, which generate this link incorrectly.

If entity_type_id is node, than currently url will be: "/admin/structure/node_types/manage/node _/delete", but correct one is "/admin/structure/node_types/manage/node_/delete"

@Chi-teck Chi-teck merged commit ac51c20 into Chi-teck:master Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants